package com.itrui.comment;

import com.itrui.feign.client.PictureClient;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@Slf4j
@SpringBootApplication
@MapperScan("com.itrui.comment.mapper")
@EnableFeignClients(clients = {PictureClient.class})
public class CommentApplication {
    public static void main(String[] args) {
        SpringApplication.run(CommentApplication.class,args);
        log.info("评论服务启动成功...");
    }
}
